To provide better \special
compatibility with dvips and other
DVI translators, can process \special
commands like
\special{psfile=foo llx=100 lly=100 urx=172 ury=172 rwi=720 rhi=720}
where rhi
is optional (it is used to change the aspect ratio).
Note that llx
and the other keywords shown above can only be used
after psfile
. Their order doesn't matter.
It is best not to type in such \special
commands yourself;
you should let a macro package generate them.
The given file (foo
in the above example) should normally be an
EPSF file containing a BoundingBox comment.
For compatibility with Wilfried Ricken's DirectTEX,
also allows PICT files in a PSFILE \special
.
If foo
is a file of type PICT then will read in the picture
stored in the data fork.
If the given file name ends in ``.pict
'' then will get the
picture from a PICT 256 resource (and if you put a suitable BoundingBox
comment in the data fork then epsf.tex
or boxedeps.tex
can be used to position the image).
Note that if the given file does not contain a BoundingBox comment
(PICT files cannot have such a comment)
then you will need to supply the bounding box coordinates to epsf.tex
;
for example, \epsfbox[0 0 72 72]{foo}
.
The numbers must be given in bp units and in the following order:
lower left x, lower left y, upper right x, upper right y.